package com.ontheroad.mysql.version.mapper;

import com.ontheroad.version.model.VersionModel;
import org.apache.ibatis.annotations.Param;
import org.mybatis.mapper.interfaces.GenericMapper;


/**
 * VersionDAO接口
 *
 * @author admin
 */
public interface VersionMapper extends GenericMapper<VersionModel, Integer> {

    /**
     *
     * @param num
     * @return
     */
    VersionModel findNewVersion(@Param("num") Integer num, @Param("type") Integer type);

}
